package com.ali.nacos.entity;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * create by gary 2020/3/28
 * 技术交流请加QQ:498982703
 */
@ConfigurationProperties(prefix = "auth")
@PropertySource(value = "classpath:/auth.properties")
@Component
public class Auth {

    String name ;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
